#ifndef INCLUDED_CRECTANGLEENTITY
#define INCLUDED_CRECTANGLEENTITY

#include "VGCVirtualGameConsole.h"
#include "CEntity.h"
#include "CVector.h"

using namespace std;

class CRectangleEntity : public CEntity {
	private: VGCColor color;
			 CVector size;
			 bool filled;

	public: CRectangleEntity(int x, int y, int width, int height);
			~CRectangleEntity();

			void setColor(VGCColor color);
			VGCColor getColor();

			void setSize(CVector size);
			CVector getSize();

			void setFilled(bool filled);
			bool isFilled();

			void draw(const double &time);
			bool isAt(CVector point);
};

#endif